<!-- 图片上传组件，会返回对应的图片地址，可控制单图或者是多图上传 -->
<template>
     <!-- <MapChoose
    :atLocation="formData.placeLoc"
    :address="formData.placeName"
    @get-location="getLocation"
    style="margin-left: 10px"/> -->
   
</template>
<script setup lang="ts">
import { defineProps, ref, computed, reactive } from 'vue';
import type { UploadFile,UploadProps } from 'element-plus';
import { ElMessage} from 'element-plus';

/***********************父组件传值******************************** */
const formData = reactive({
  placeLoc : '',
  placeName : '',
});
const getLocation = (obj) => {// 组件返回的经纬度和地址名称
  formData.placeLoc = obj.latitude + "," + obj.longitude;
  formData.placeName = obj.address;
};
</script>
<style scoped>

</style>
